package com.atung.service;

import java.util.List;

import com.atung.request.RequestIdentityVerification;
import com.atung.response.ResponeRefundDetails;
import com.atung.response.ResponeRefundDetailsIng;
import com.atung.response.ResponeVerificationIdentity;
import com.atung.response.ResponseBusOrderCarList;
import com.atung.response.ResponseOrderDetails;

public interface BusOrderCarService {

	/**
	 * 订单列表
	 * @param openId
	 * @param orderState
	 * @return
	 */
	List<ResponseBusOrderCarList>getOrderList(String openId, Integer orderState);
	
	/**
	 * 订单详情
	 * @param orderId
	 * @return
	 */
	ResponseOrderDetails getOrderDetails(Long orderId);
	
//	/**
//	 * 用户上车
//	 * @param orderId
//	 * @return
//	 */
//	void riding(Long orderId)throws Exception;


	/**
	 * 身份验证
	 * @param request
	 * @return
	 */
	ResponeVerificationIdentity identityVerification(RequestIdentityVerification request)throws Exception;

	/**
	 * 退款详情
	 * @param orderId
	 * @return
	 */
	ResponeRefundDetails refundDetails(Long orderId);
	
	
	/**
	 * 退款中的详情
	 * @param orderId
	 * @return
	 */
	ResponeRefundDetailsIng refundDetailsIng(Long orderId);
}
